﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
using Volo.Abp.Application.Dtos;
using Wz.Dto;

namespace Wz.Interface
{
    //物资采购
    public interface IMaterialsService
    {
        //物资显示
        Task<PagedResultDto<Purchase_MaterialsDto>> MaterialsShow(PagedAndSortedResultRequestDto input);
        /// <summary>
        /// 物资添加
        /// </summary>
        /// <param name="obj"></param>
        /// <returns></returns>
        Task<Purchase_MaterialsDto> Material_PurchasingAddAsync(AddMaterial_PurchasingDto obj);
        /// <summary>
        /// <summary>
        /// 物资删除
        /// </summary>
        /// <param name="id"></param>
        /// <returns></returns>
        Task Material_PurchasingDeleteAsync(Guid id);
        /// <summary>
        /// 物资编辑
        /// </summary>
        /// <param name="obj"></param>
        /// <returns></returns>
        Task<Purchase_MaterialsDto> Material_PurchasingUptAsync(UptPurchase_MaterialsDto obj);
        /// <summary>
        /// 物资回显
        /// </summary>
        /// <param name="id"></param>
        /// <returns></returns>
        Task<Purchase_MaterialsDto> purchaseFind(Guid id);
        /// <summary>
        /// 修改状态通过
        /// </summary>
        /// <param name="id"></param>
        /// <returns></returns>
        Purchase_MaterialsDto Material_PurchasingUpsize(Guid id);
        /// <summary>
        /// 修改状态拒绝
        /// </summary>
        /// <param name="id"></param>
        /// <returns></returns>
        Purchase_MaterialsDto Material_PurchasingUpsizes(Guid id);

    }
}
